Platform Explorer / Nuxeo Platform 2021.51

Component org.nuxeo.ecm.document.pageproviders

Resolution Order

349
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.document.pageproviders">

  <extension target="org.nuxeo.ecm.platform.query.api.PageProviderService" point="providers">

    <coreQueryPageProvider name="document_content">
      <whereClause docType="AdvancedSearch">
        <predicate parameter="ecm:fulltext" operator="FULLTEXT">
          <field schema="advanced_search" name="fulltext_all" />
        </predicate>
        <predicate parameter="dc:title" operator="FULLTEXT">
          <field schema="advanced_search" name="title" />
        </predicate>
        <predicate parameter="dc:modified" operator="BETWEEN">
          <field schema="advanced_search" name="modified_min" />
          <field schema="advanced_search" name="modified_max" />
        </predicate>
        <fixedPart>
          ecm:parentId = ? AND ecm:isVersion = 0 AND
          ecm:mixinType != 'HiddenInNavigation' AND ecm:isTrashed = 0
        </fixedPart>
      </whereClause>
      <sort column="dc:title" ascending="true" />
      <pageSize>20</pageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="advanced_document_content">
      <trackUsage>true</trackUsage>
      <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
      <whereClause docType="AdvancedContent">
        <fixedPart>
          ecm:isVersion = 0 AND
          ecm:mixinType !=
          'HiddenInNavigation'
        </fixedPart>
        <predicate parameter="dc:title" operator="FULLTEXT">
          <field schema="advanced_content" name="title" />
        </predicate>
        <predicate parameter="ecm:parentId" operator="=">
          <field schema="advanced_content" name="ecm_parentId" />
        </predicate>
        <predicate parameter="ecm:isTrashed" operator="=">
          <field schema="advanced_content" name="ecm_trashed" />
        </predicate>
      </whereClause>
      <aggregates>
        <aggregate id="dc_last_contributor_agg" type="terms" parameter="dc:lastContributor">
          <field schema="advanced_content" name="dc_last_contributor_agg" />
          <properties>
            <property name="size">10</property>
          </properties>
        </aggregate>
        <aggregate id="dc_modified_agg" type="date_range" parameter="dc:modified">
          <field schema="advanced_content" name="dc_modified_agg" />
          <properties>
            <property name="format">"dd-MM-yyyy"</property>
          </properties>
          <dateRanges>
            <dateRange key="last24h" fromDate="now-24H" toDate="now"/>
            <dateRange key="lastWeek" fromDate="now-7d" toDate="now-24H"/>
            <dateRange key="lastMonth" fromDate="now-1M" toDate="now-7d"/>
            <dateRange key="lastYear" fromDate="now-1y" toDate="now-1M"/>
            <dateRange key="priorToLastYear" toDate="now-1y"/>
          </dateRanges>
        </aggregate>
      </aggregates>
      <sort column="dc:modified" ascending="false" />
      <pageSize>20</pageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="document_trash_content">
      <whereClause docType="AdvancedSearch">
        <predicate parameter="ecm:fulltext" operator="FULLTEXT">
          <field schema="advanced_search" name="fulltext_all" />
        </predicate>
        <predicate parameter="dc:title" operator="FULLTEXT">
          <field schema="advanced_search" name="title" />
        </predicate>
        <predicate parameter="dc:modified" operator="BETWEEN">
          <field schema="advanced_search" name="modified_min" />
          <field schema="advanced_search" name="modified_max" />
        </predicate>
        <fixedPart>
          ecm:parentId = ? AND ecm:isVersion = 0 AND
          ecm:mixinType !=
          'HiddenInNavigation' AND ecm:isTrashed = 1
        </fixedPart>
      </whereClause>
      <sort column="dc:title" ascending="true" />
      <pageSize>20</pageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="section_content">
      <whereClause docType="AdvancedSearch">
        <predicate parameter="ecm:fulltext" operator="FULLTEXT">
          <field schema="advanced_search" name="fulltext_all" />
        </predicate>
        <predicate parameter="dc:title" operator="FULLTEXT">
          <field schema="advanced_search" name="title" />
        </predicate>
        <predicate parameter="dc:modified" operator="BETWEEN">
          <field schema="advanced_search" name="modified_min" />
          <field schema="advanced_search" name="modified_max" />
        </predicate>
        <fixedPart>
          ecm:parentId = ? AND ecm:isVersion = 0 AND
          ecm:mixinType !=
          'HiddenInNavigation' AND ecm:isTrashed = 0
        </fixedPart>
      </whereClause>
      <sort column="dc:title" ascending="true" />
      <pageSize>20</pageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="orderable_document_content">
      <whereClause docType="AdvancedSearch">
        <predicate parameter="ecm:fulltext" operator="FULLTEXT">
          <field schema="advanced_search" name="fulltext_all" />
        </predicate>
        <predicate parameter="dc:title" operator="FULLTEXT">
          <field schema="advanced_search" name="title" />
        </predicate>
        <predicate parameter="dc:modified" operator="BETWEEN">
          <field schema="advanced_search" name="modified_min" />
          <field schema="advanced_search" name="modified_max" />
        </predicate>
        <fixedPart>
          ecm:parentId = ? AND ecm:isVersion = 0 AND
          ecm:mixinType !=
          'HiddenInNavigation' AND ecm:isTrashed = 0
        </fixedPart>
      </whereClause>
      <sort column="ecm:pos" ascending="true" />
      <sortable>false</sortable>
      <pageSize>20</pageSize>
    </coreQueryPageProvider>

  </extension>

</component>